package com.parenting.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Accessors(chain = true)
@ApiModel(value = "AppletRegisterUser对象" ,description ="移动端账号注册类" )
@Data
public class AppletRegisterUser implements Serializable {


    @ApiModelProperty(value = "账号")
    @NotNull(message = "账号不能为空")
    private String account;

    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不能为空")
    private String password;


    @ApiModelProperty(value = "手机号")
    @NotNull(message = "手机号不能为空")
    private String mobile;


    @ApiModelProperty(value = "手机验证码")
    @NotNull(message = "手机号不能为空")
    private String code;


}
